import { defineStore } from 'pinia'

const applyStore = defineStore("wg_apply", {
  state: () => {
    return {
      showAddDialog: false
    }
  },
  actions: {
    updateShowAddDialog(flag) {
      this.showAddDialog = flag
    }
  },
  getters: {
    getShowAddDialog(state) {
      return state.showAddDialog
    }
  }
})

export default applyStore